  <div class="ebfeed-unit"  ng-if='$ctrl.feed.access==0 || $ctrl.canAdmin'>
    <div class="eb-po-avt-wrap">
      <img class="eb-po-avt" ng-src="{{
        $ctrl.feedData.usersInfo[$ctrl.feed.uid].wxinfo?
        $ctrl.feedData.usersInfo[$ctrl.feed.uid].wxinfo.headimgurl :
        $ctrl.appData.appCfg.assetsRoot+'/img/anonymous.png'
      }}">
    </div>
    <div class="eb-po-cmt"
      ng-class="{'serve-not-pub':+$ctrl.feed.access}"
    >
      <div class="eb-po-body">
        <div>
          <span class="eb-po-name">{{
            $ctrl.feedData.usersInfo[$ctrl.feed.uid].wxinfo?
            $ctrl.feedData.usersInfo[$ctrl.feed.uid].wxinfo.nickname :
            $ctrl.feedData.usersInfo[$ctrl.feed.uid].uname
          }}</span>
          <span class="eb-po-course">(原价：{{$ctrl.feed.d1}})</span>
          <span class="eb-po-grade">现价：{{$ctrl.feed.d2}}</span>
        </div>
        <div class="eb-post">
          <p>{{$ctrl.feed.content}}</p>
          <p>有效期至：{{$ctrl.feed.attr.promoEnd|date:"yyyy年MM月dd日 HH:mm"}}</p>
          <p ng-if='$ctrl.feed.pics'>
            <img class="eb-list-img" style="height: 80px;"
            ng-repeat='img in $ctrl.feed.pics.split(",") track by $index'
            ng-init="picIndex=$index"
            ng-click="$ctrl.clickImg(picIndex)"
            ng-src="{{$ctrl.appData.filePath}}/{{img}}">
            
          </p>
        </div>
        <div  class='eweui-cell' ng-if='!$ctrl.canAdmin'>
          <a class="weui-btn weui-btn_mini weui-btn_primary"
            href='#!/serve-home?fid={{$ctrl.feed.fid}}' >
            详情
          </a>
        </div>
        <div  class='eweui-cell' ng-if='$ctrl.canAdmin'>
          <a class="weui-btn weui-btn_mini weui-btn_primary"
            href='#!/serve-home?fid={{$ctrl.feed.fid}}' >
            详情
          </a>
          <a class="weui-btn weui-btn_mini weui-btn_warn"
            href='#!/serve-edit?fid={{$ctrl.feed.fid}}' >
            编辑
          </a>
          <a class="weui-btn weui-btn_mini weui-btn_warn"
            href
            ng-click='$ctrl.pubFeed(+$ctrl.feed.access)' 
          >
            {{+$ctrl.feed.access?'未公开，点此公开':'已公开，点此关闭'}}
          </a>
        </div>

        <appb-feed-pop-action
          ng-show='$ctrl.feedData._activeAction ==$ctrl.feed.fid'
          fid='$ctrl.feed.fid'
          liking='$ctrl.amILiking[$ctrl.feed.fid]'
          cmt-data='$ctrl.feedData.cmtData'
          app-data='$ctrl.appData'
        ></appb-feed-pop-action>

        <a class="eb-time" am-time-ago='1000*$ctrl.feed.publish_at'
        href=''></a>
        <span class="eb-action"
          ng-if='$ctrl.feed.uid==$ctrl.appData.userData.uid'
          ng-click='$ctrl.feedData.deleteFeed($ctrl.feed.fid,$ctrl.feedApp,$ctrl.feedCat)'>
          删除
        </span>
        <!--span class="eb-action" ng-if='$ctrl.feed.uid!=$ctrl.appData.userData.uid'>投诉</span-->
        <img class="eb-c-icon cur-pointer" ng-src="{{$ctrl.appData.appCfg.assetsRoot}}/img/cmt.png"
        ng-click='$ctrl.showPop($ctrl.feed.fid,$event)'>
      </div>
      <appb-feed-comment app-data='$ctrl.appData' feed-data='$ctrl.feedData'
      fid='$ctrl.feed.fid'
      like-data='$ctrl.feedData.cmtData.commentList[$ctrl.feed.fid+"like"]'
      comment-data='$ctrl.feedData.cmtData.commentList[$ctrl.feed.fid+"comment"]'>
      </appb-feed-comment>
    </div>
    <div class="eb-po-clear" id='eb-feed-end-{{$ctrl.feed.fid}}'></div>
  </div>